/*
 * SPI.h
 *
 * Created: 20.02.2013 15:36:07
 *  Author: saenko
 */ 


#ifndef SPI_H_
#define SPI_H_

volatile unsigned char spi_complete;

volatile unsigned char spi_rec;

void spi_init(void);
void spi_write(unsigned char data);
void spi_read_reg(unsigned char reg);


#endif /* SPI_H_ */